package com.coke.spring.seata.config;

import lombok.val;

public class T implements Runnable{

    private int count =100;
    @Override
    public void run() {
        count--;
        System.out.println(Thread.currentThread().getName()+":"+count);
    }

    public static void main(String[] args) {
        T t = new T();
        for(int i =0;i<5;i++){
            new Thread(t,"test"+i).start();
        }
    }
}
